package com.web.music.interfaces;

import java.io.InputStream;

/**
 * HTTP client module used to download data from the Web.
 * 
 * TODO [done]
 * Your task is to write implementation for this interface.
 * Suggested way is to use ApacheHttpClient API (see http://hc.apache.org/httpclient-3.x/).
 * However you are free to use any framework and also to change HTTPClient interface.
 */
public interface HTTPClient {

	/**
	 * Downloads page content from specified URL and returns it as InputStream
	 * 
	 * @param url - page URL to download
	 * @return	input stream
	 */
	public InputStream download(String url);

}
